#ifndef PAINTMANAGER_H
#define PAINTMANAGER_H

#include <QObject>

class PaintScene;
class QGLWidget;

class PaintManager : public QObject
{
    Q_OBJECT
public:
    explicit PaintManager(QObject *parent = 0);

    void paintScene(int width, int height, QGLWidget *widget);

    void setScene(PaintScene *scene);
    PaintScene *getScene() const;

signals:
    void updated();

public slots:
    void update();

private:
    PaintScene *myPaintScene;
    bool scene;
};

#endif // PAINTMANAGER_H
